
<template>
    <div class="spanControl-list" style="width: 100%;margin-left: 0!important;">
        <el-card class="box-card card-head" style="margin: 0px; width: 100%; min-height: 99%">
            <div slot="header" class="clearfix">
                <span>查看线路节点关系</span>
            </div>

            <div class="text item">
                <el-form label-position="left" inline class="display-form">
                        <!--<el-form-item label="标识">-->
                            <!--<span>{{ routeNodeRelation.EId }}</span>-->
                        <!--</el-form-item>-->
                        <el-form-item label="名称">
                            <span>{{ routeNodeRelation.name }}</span>
                        </el-form-item>
                        <el-form-item label="线路编号">
                            <span>{{ routeNodeRelation.routeCode }}</span>
                        </el-form-item>
                        <el-form-item label="节点名称">
                            <span>{{ routeNodeRelation.nodeName }}</span>
                        </el-form-item>
                        <el-form-item label="节点详情">
                            <span>{{ routeNodeRelation.nodeDetail }}</span>
                        </el-form-item>
                        <el-form-item label="节点顺序">
                            <span>{{ routeNodeRelation.nodeOrder }}</span>
                        </el-form-item>
                        <el-form-item label="备注">
                            <span>{{ routeNodeRelation.remark }}</span>
                        </el-form-item>
                        <!--<el-form-item label="创建人">-->
                            <!--<span>{{ routeNodeRelation.createId }}</span>-->
                        <!--</el-form-item>-->
                        <!--<el-form-item label="创建时间">-->
                            <!--<span>{{ routeNodeRelation.createDatetime }}</span>-->
                        <!--</el-form-item>-->
                        <!--<el-form-item label="修改人">-->
                            <!--<span>{{ routeNodeRelation.updateId }}</span>-->
                        <!--</el-form-item>-->
                        <!--<el-form-item label="修改时间">-->
                            <!--<span>{{ routeNodeRelation.updateDatetime }}</span>-->
                        <!--</el-form-item>-->
                </el-form>
            </div>
        </el-card>
    </div>
</template>

<script>
import {RouteNodeRelationService} from './RouteNodeRelationService';

export default {
    components: {
    },
    data() {
        return {
            routeNodeRelation:{},
        }
    },
    methods: {
        findRouteNodeRelationForView(routeNodeRelationId)//查找线路节点关系
        {
            RouteNodeRelationService.findRouteNodeRelationForView(routeNodeRelationId).then((resp) => {
                this.routeNodeRelation = resp.data;
        }).catch((error) => {
            this.$message({
            type: 'error',
            message: '查询线路节点关系出错'
        })
        })
        },
    },
    created() {
        const routeNodeRelationId = this.$route.params.routeNodeRelationId;
        this.findRouteNodeRelationForView(routeNodeRelationId);
    },
}

</script>
<style scoped lang="scss">

</style>
